import request from "./http";

// 获取热搜列表
export function getSearch(){
    return request({
        url:"/search/hot/detail",
        method:"get",
    })
}

//搜索接口
export function getKeywords(params){
    return request({
        url:"/cloudsearch",
        method:"get",
        params:{
            limit:10,
            ...params
        }
    })
}
